package org.apache.dubbo.demo.example.eg12;

import org.apache.dubbo.rpc.RpcContext;

public class DemoServiceImpl implements DemoService {

  @Override
  public String sayHello(String name) {
    String email = RpcContext.getContext().getAttachment("email");
    return "hello, " + name + ", email: " + email;
  }
}
